﻿using System;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace RedSand.Site.Models
{
    public class ProjectInfo
    {
        [Key]
        [HiddenInput(DisplayValue=false)]
        public int ProjectID{ get; set; }

        [Display(Name = "ProjectName")]
        public string ProjectName{ get; set; }

        [Display(Name = "Customer")]
        public string Customer{ get; set; }

        [Display(Name = "Recipient")]
        public string Recipient{ get; set; }

        [Display(Name = "OrderDate")]
        [DataType(DataType.Date)]
        public DateTime? OrderDate{ get; set; }

        [Display(Name = "Deadline")]
        [DataType(DataType.Date)]
        public DateTime? Deadline{ get; set; }

        [Display(Name = "CompleteDate")]
        [DataType(DataType.Date)]
        public DateTime? CompleteDate{ get; set; }

        [Display(Name = "Status")]
        public byte? Status{ get; set; }

        [Display(Name = "Price")]
        public float? Price{ get; set; }

        [Display(Name = "Currencies")]
        public string Currencies{ get; set; }

        [Display(Name = "ExpectedTime")]
        public float? ExpectedTime{ get; set; }

        [Display(Name = "Description")]
        public string Description{ get; set; }

        [Display(Name = "Management")]
        public string Management{ get; set; }

        [Display(Name = "CompleteNote")]
        public string CompleteNote { get; set; }
    }
}
